package com.zzy.mccjt.autoconfigure.initializer;

import com.zzy.mccjt.autoconfigure.constants.PackageConstants;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.ApplicationContextInitializer;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;

/**
 * 初始化 mybatis mapper 的basebackage 参数
 *
 * @author
 * @version 1.0
 * @date 2019/4/17 16:09
 */
@Slf4j

public class MapperInitializer implements ApplicationContextInitializer {
    @Override
    public void initialize(ConfigurableApplicationContext configurableApplicationContext) {
        log.info("mapper_basebackage  is initializer");
    }
}
